Expand description
An opinionated 3D math library built on glam
.
re_math
is a fork of macaw
by Embark Studios.
Modules§
- Prelude module with extension traits
Structs§
- A 3-dimensional axis-aligned bounding box.
- Represents a transform with translation + rotation + uniform scale.
- An isometric transform represented by translation * rotation.
- Raw mesh generator. Only generates positions, normals and an index buffer.
- A 3-dimensional plane primitive.
- A ray in 3-dimensional space: a line through space with a starting point and a direction.
Traits§
- Extensions to floating-point primitives.
- Extensions to
Quat
- Extensions to
Vec2
- Extensions to
Vec3
- Extensions to
Vec4
Functions§
- Linear interpolation between a range
- Remap a value from one range to another, e.g. do a linear transform.
- Remap a value from one range to another, clamps the input value to be in the from range first.